﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="MVCLD.Settings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Sitemap - <%= Settings.GeneralSiteName.ToString() %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>All Categories</h1>
    <ul id="treeview">
        <%Html.RenderPartial("ShowSubCategories", ((IEnumerable<MVCLD.Models.Category>)ViewData["AllCategories"]).Where(c => c.MainCategory == true));%>
    </ul>

</asp:Content>
